package com.human.server.service.impl;

import com.human.server.entity.AssessmentFills;
import com.human.server.mapper.AssessmentFillsMapper;
import com.human.server.model.response.DepartmentFillStatus;
import com.human.server.service.IAssessmentFillsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 考核填写主表 服务实现类
 * </p>
 *
 * @author zooy
 * @since 2025-09-11
 */
@Service
public class AssessmentFillsServiceImpl extends ServiceImpl<AssessmentFillsMapper, AssessmentFills> implements IAssessmentFillsService {

    public List<DepartmentFillStatus> countFillStatusByDepartment(Long assessmentId) {

        return baseMapper.countFillStatusByDepartment(assessmentId);
    }
}
